]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
userMenu: Close menu immediately on user/session switch
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Sep 2012 21:18:51 +0000 (23:18 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 21 Sep 2012 14:07:38 +0000 (16:07 +0200)
The same reasoning as for commit 1f30670c1d8d8 also applies to
VT switches.

https://bugzilla.gnome.org/show_bug.cgi?id=684459

js/ui/userMenu.js

index 3d6e340fb677924debda03e394cf042960ac7c9d..0a3192d12ddabb35c06f9d3fd75e1a07f28f7f3c 100644 (file)
@@ -820,6 +820,7 @@ const UserMenuButton = new Lang.Class({
     },
 
     _onLoginScreenActivate: function() {
+        this.menu.close(BoxPointer.PopupAnimation.NONE);
         Main.overview.hide();
         if (this._screenSaverSettings.get_boolean(LOCK_ENABLED_KEY))
             Main.screenShield.lock(false);